package com.ln.pojo.impl;

import java.sql.Timestamp;

import com.ln.pojo.BasePOJO;

public class UserPOJO extends BasePOJO {
	
	private static final long serialVersionUID = 1L;
	
	private int id;
	private String username;
	private String password;
	private String email;
	private int type;
	private int state;
	private Timestamp ctime;
	private String repassword;

	public String getRepassword() {
		return repassword;
	}

	public void setRepassword(String repassword) {
		this.repassword = repassword;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public Timestamp getCtime() {
		return ctime;
	}

	public void setCtime(Timestamp ctime) {
		this.ctime = ctime;
	}


	@Override
	public String toString() {
		return "UserPOJO [id=" + id + ", username=" + username + ", password="
				+ password + ", email=" + email + ", type=" + type + ", state="
				+ state + ", ctime=" + ctime + ", repassword=" + repassword
				+ "]";
	}

	@Override
	public String getTable() {
		return "tbl_user";
	}

}
